-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch mapping to openMINDS Python classes #9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
set all undefined/non discussed to None
@Peyman-N I reduced to what we currently know. Some PRs in instances are still missing for making the mapping run. |
@Peyman-N please replace the respective code in the conversion for the mapping (using openMINDS python extract instance by name function) Note for Technique you need to try / loop over these types AnalysisTechnique, StimulationApproach, StimulationTechnique or Technique |
@Peyman-N I forgot MRIPulseSequence in the list of technique types to loop over |
Started to solve / tackle #7
Suggestion:
TYPE.by_name("INSTANCENAME")
For2. Maybe introduce utility function to make instance reference and adding instance to collection (optional) at the same time.
@apdavison @Peyman-N please let me know if you agree with this approach before I continue with this PR.